<?php
// $Id$

/**
 * Controller_About 控制器
 */
class Controller_About extends Controller_Abstract
{

	function actionIndex()
	{
		$cid = intval($this->_context->cid);
		$cid = $cid?$cid:81;
		# 获取信息
		$categoryOBJ = Categorys::find('id = ?',$cid)->getOne();
		if ($categoryOBJ->id())
		{
			$this->_view['data'] = $categoryOBJ;
		}else {
			header('location:'.url('default'));
		}
	}
}